<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="../lib/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/3.3guoneizhekou.css">

    <!--[if lt IE 9]>
      <script src="./lib/html5shiv/html5shiv.min.js"></script>
      <script src="./lib/respond/respond.js"></script>
    <![endif]-->
</head>

<body>
    <!-- 头部 -->
    <div class="header">
        <a class="glyphicon glyphicon-menu-left" href="../index.html"></a>
        <span>国内折扣</span>
        <a>
            <img src="../images/header_app.png" alt="">
        </a>
    </div>
    <!-- 详细部分 -->
    <div class="xiangxi" data-id="<?php echo $_GET["id"] ?>">

    </div>
    <div class="nav">
        <ul>
            <li>登录</li>
            <li>注册</li>
            <li>
                <a href="#">
                    <span class="glyphicon glyphicon-arrow-up"></span>
                    返回顶部</a>
            </li>
        </ul>
    </div>
    <div class="footer">
        <p>
            <span>手机APP下载</span>
            <span>慢慢买手机版</span>
            <span>--掌上比较平台</span>
        </p>
        <p>m.manmanbuy.com </p>
    </div>
    <!-- 动态生成详细页面的模板 -->
    <script type="text/template" id="liTemplate">
    <% for(var i=0;i<result.length;i++){ %>
        <h4>
            <%=result[i].productName%>
        </h4>
        <div class="main">
            <div class="left">
                <div class="left-1">
                    <span>
                        <%=result[i].productFrom%>
                    </span>
                    <span>
                        <%=result[i].productTime%>
                    </span>
                    <span>
                        <%=result[i].productTips%>
                    </span>
                </div>
                <div class="left-2">
                    <%=result[i].productInfo%>
                </div>
            </div>
            <div class="right">
                {{#result[i].productImgLg}}
            </div>
        </div>
        <div class="center">
            <%=result[i].productInfo1%>
        </div>
        <div class="buy">
            {{#result[i].productImgSm}}
            <div class="select">
                    <div class="dropdown">
                        <a class="jingdongText" id="dLabel" data-target="#" href="http://example.com" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <span class="huo">
                                <span>北京</span>
                                <span>有货</span>
                            </span>  
                            <span class="caret"></span>
                        </a>

                        <ul class="dropdown-menu jingdong" aria-labelledby="dLabel">
                            <li>
                                {{#result[i].productCity}}
                            </li>
                        </ul>
                    </div>
            </div>
            <div class="buynow">
                <span>前往购买</span>                    
            </div>
            <div class="buyimg">
                <img src="../images/mmbweixin2.png" alt="">
            </div>
        </div>
        </div>
        <div class="comment">
            {{#result[i].productComment}}
        </div>
        <% } %>
            </script>
    <script src="../lib/jquery/jquery.js"></script>
    <script src="../lib/bootstrap/js/bootstrap.js"></script>
    <script src="../public/art-template/template-web.js"></script>
    <script src="../js/3.3guoneizhekou.js"></script>
</body>

</html>